package com.xunji.standard.dto;

import com.xunji.standard.entity.TXjNdFlMessageCall;
import lombok.Data;

import java.util.Date;

/**
 * @Author: xuqiang_imyours
 * @Date: 2025/7/10 17:39
 * @Description: 短信通话excel
 **/
@Data
public class TXjNdFlMessageCallVo {


    /**
     * 本机号码
     */
    private String bjhm;

    /**
     * 本机运营商
     */
    private String bjyys;

    /**
     * 短信类型
     */
    private String dxlx;

    /**
     * 本机基站ID
     */
    private String bjjz;

    /**
     * 本机基站地址
     */
    private String bjjzdz;

    /**
     * 发送/接收时间
     */
    private Date fsjssj;

    /**
     * 对方号码
     */
    private String dfhm;

    /**
     * 对方运营商
     */
    private String dfyys;

    public static TXjNdFlMessageCallVo getInstance(TXjNdFlMessageCall call) {
        TXjNdFlMessageCallVo callVo = new TXjNdFlMessageCallVo();
        callVo.setBjhm(call.getBjhm());
        callVo.setBjyys(call.getBjyys());
        callVo.setDxlx(call.getDxlx());
        callVo.setBjjz(call.getBjjz());
        callVo.setBjjzdz(call.getBjjzdz());
        callVo.setFsjssj(call.getFsjssj());
        callVo.setDfhm(call.getDfhm());
        callVo.setDfyys(call.getDfyys());
        return callVo;
    }
}
